package com.imut.hcdp.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;


@Data
@Accessors(chain = true)
public class HcdpOrder
{
    private static final long serialVersionUID = 1L;


    private Long id;

    /** 流水号 */
    private String outTradeNo;


    private Long routeId;


    private String routeDetailId;

    /** 购买人 */
    private Long buyer;

    /** 购买时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date crttime;

    /** 1:待支付 2:已支付 3:已完成 4:已取消 5:改签 */
    private Long status;

    /** 支付金额 */
    private BigDecimal price;

    /** 支付方式 */
    private String ptype;

    /** 退款金额 */
    private BigDecimal tui;

    /** 出票方式 */
    private Long chupiao;

    private List<HcdpPassenger> passengerList;

    private HcdpTrainRoute hcdpTrainRoute;

}
